# -*- coding: utf-8 -*-
import urllib
from bs4 import BeautifulSoup



class DownloadParseUrl():
        #download HTML file from specified URL
        opener = urllib.FancyURLopener({})
        url = "http://www2.tau.ac.il/yedion/syllabus.asp?course=0368110507"
        f = opener.open(url)
        content = f.read()
        

        clean_text = BeautifulSoup(content).get_text()
        
       # print(clean_text[clean_text.find(u"סילבוס מקוצר")+12:])
       # print(clean_text)
        